package tr.edu.metu.is550.isell.domain;

import javax.persistence.Basic;
import javax.persistence.Embeddable;

@Embeddable
public class UserCredentials {
    @Basic
    private String loginName;
    @Basic
    private String password;

    public UserCredentials() {
    }

    public UserCredentials(String loginName, String password) {
        this.loginName = loginName;
        this.password = password;
    }

    public String getLoginName() {
        return loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public void setPassword(String password) {
        this.password = password;
    }


}
